package com.friendfeed.api;

public class UnexpectedResponseException extends FriendFeedServiceException {
    private int responseCode;

    public UnexpectedResponseException(String url, int responseCode, String errorCode) {
        super("Unexpected HTTP response code of " + responseCode + ", URL=" + url);
        this.responseCode = responseCode;
    }


    public int getResponseCode() {
        return responseCode;
    }
}
